﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DbManager.Objects
{
    using Mapping;


    public class SqlTable :
        SqlObject
    {
        public SqlTable() { }
        public SqlTable(String name) : base(name) { }

        #region Public Properties

        private readonly List<SqlField> fields = new List<SqlField>();
        public IEnumerable<SqlField> Fields { get { return fields; } }

        private string database;
        public string Database { get { return database; } set { database = value; } }

        private string _owner;
        public string Owner { get { return _owner; } set { _owner = value; } }

        #endregion

        #region Overrides

        protected override void Init()
        {
        }

        public override bool  CanBeNull()
        {
            return true;
        }
          
        #endregion 
    }
}
